package com.itcam.cm.feign.cart;


import com.itcam.cm.model.entity.cart.CartInfo;
import com.itcam.cm.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "service-cart")
public interface CartFeignClient {

    @GetMapping("/api/order/cart/auth/getAllChecked")
    List<CartInfo> getAllChecked();

    @GetMapping("/api/order/cart/auth/deleteCheckedCart")
    Result deleteCheckedCart();
}
